package com.quan.mall.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 前端数据，Sku数据
 * {
 * 	"sku": [
 * 			{"specAttrId":"1","specAttrName":"价格","specValueId":"2","specValue":"2400-3499"},
 * 			{"specAttrId":"2","specAttrName":"屏幕尺寸","specValueId":"9","specValue":"12.5英寸"},
 * 			{"specAttrId":"3","specAttrName":"处理器","specValueId":"17","specValue":"Intel i3"}
 * 		],
 * 		"price":0,
 * 		"total":0
 * 	}
 * @author yhaoquan
 *
 */
public class SkuDTO {

	private List<SkuSpecDTO> sku ;
	
	private String skuNo ;
	
	private BigDecimal price ;
	
	private int stock ;

	public String getSkuNo() {
		return skuNo;
	}

	public void setSkuNo(String skuNo) {
		this.skuNo = skuNo;
	}

	public List<SkuSpecDTO> getSku() {
		return sku;
	}

	public void setSku(List<SkuSpecDTO> sku) {
		this.sku = sku;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	@Override
	public String toString() {
		return "GoodsSkuVo [sku=" + sku + ", price=" + price + ", stock=" + stock + "]";
	}


	
}
